package cn.iocoder.yudao.module.yyzx.controller.admin.outgoing.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 外出登记新增/修改 Request VO")
@Data
public class OutgoingSaveReqVO {


    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28591")
    private Integer id;




    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4643")
    @NotNull(message = "客户ID不能为空")
    private Integer customerid;

    @Schema(description = "外出原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不香")
    @NotEmpty(message = "外出原因不能为空")
    private String outgoingReason;

    @Schema(description = "外出时间")
    private LocalDateTime outgoingTime;

    @Schema(description = "预计回来时间")
    private LocalDateTime expectedReturnTime;

    @Schema(description = "实际回来时间")
    private LocalDateTime actualReturnTime;

    @Schema(description = "陪同人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "陪同人不能为空")
    private String escorted;

    @Schema(description = "与老人关系", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "与老人关系不能为空")
    private String relation;

    @Schema(description = "陪同人电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "陪同人电话不能为空")
    private String escortedTel;



    @Schema(description = "审批状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "审批状态不能为空")
    private String auditStatus;

    @Schema(description = "审批人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "审批人不能为空")
    private String auditPerson;

    @Schema(description = "审批时间")
    private LocalDateTime auditTine;

}